package com.webas.api.auth;

import java.util.List;

/**
 * 
 * @author tkhasano
 *
 */
public interface SecurityContext<T> {
	public static final String ACCESS_DENIED_ERROR = "ACCESS_DENIED_ERROR";
	public static final String AUTHENTICATION_ERROR	= "AUTHENTICATION_ERROR";

	Token getToken();
	void setToken(Token token);
	
	Boolean	isGranted(List<Object> attributes, Object object);
}
